import { defineApis } from '@/utils/api'

//查询权限编码分段
const getPermissionPart = (ahead?: string) => {
    return {
        url: '/permission/part',
        params: {
            ahead
        },
    }
}

export default defineApis('admin', {
    getPermissionPart,
})